package com.starinside.wp.repository;

import com.starinside.wp.domain.ChildrenCouponCard;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/7/13
 * *******************************
 */
public interface ChildrenCouponCardRepository extends JpaRepository<ChildrenCouponCard, String> , JpaSpecificationExecutor<ChildrenCouponCard> {


    ChildrenCouponCard findByChildrenIdAndCouponCard(String childrenId, String card);
}
